package cn.qzuie.smart.module.dorm.controller.admin.dormitories.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 宿舍新增/修改 Request VO")
@Data
public class DormitoriesSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "21132")
    private Long id;

    @Schema(description = "楼栋", requiredMode = Schema.RequiredMode.REQUIRED, example = "32177")
    @NotNull(message = "楼栋不能为空")
    private String buildingId;

    @Schema(description = "门牌号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "门牌号不能为空")
    private String roomNo;

    @Schema(description = "宿舍类型：'单人间','双人间','四人间','六人间'", example = "2")
    private Integer roomType;

    @Schema(description = "房价", requiredMode = Schema.RequiredMode.REQUIRED, example = "15830")
    @NotNull(message = "房价不能为空")
    private BigDecimal price;

    @Schema(description = "入住人数", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "入住人数不能为空")
    private Integer currentOccupancy;

    @Schema(description = "状态:'空闲','已满','维修中'", example = "2")
    private Integer status;

}